From 5e09c2b64a81318ef1a2a67a1fc7335106f9f44d Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Mon, 4 Jun 2007 14:12:19 -0600 Subject: [PATCH] [IA64] hyper_rfi: do not validate vcr.iip anymore. This is useless: if iip is within the vmm, this will be caught by the mmu. Signed-off-by: Tristan Gingold --- xen/arch/ia64/xen/hyperprivop.S | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/xen/arch/ia64/xen/hyperprivop.S b/xen/arch/ia64/xen/hyperprivop.S index 58269fc110..287e6d3c2b 100644 --- a/xen/arch/ia64/xen/hyperprivop.S +++ b/xen/arch/ia64/xen/hyperprivop.S @@ -1087,23 +1087,16 @@ ENTRY(hyper_rfi) ld4 r20=[r20];; cmp.ne p7,p0=r20,r0 (p7) br.spnt.few slow_vcpu_rfi ;; +#if 0 // if domain hasn't already done virtual bank switch // do it the slow way (FIXME later?) -#if 0 adds r20=XSI_BANKNUM_OFS-XSI_PSR_IC_OFS,r18 ;; ld4 r20=[r20];; cmp.eq p7,p0=r20,r0 (p7) br.spnt.few slow_vcpu_rfi ;; #endif - // validate vcr.iip, if in Xen range, do it the slow way adds r20=XSI_IIP_OFS-XSI_PSR_IC_OFS,r18 ;; ld8 r22=[r20];; - movl r23=HYPERVISOR_VIRT_START - movl r24=HYPERVISOR_VIRT_END;; - cmp.ltu p0,p7=r22,r23 ;; // if !(iip=high) -(p7) br.spnt.few slow_vcpu_rfi ;; - 1: // OK now, let's do an rfi. #ifdef FAST_HYPERPRIVOP_CNT movl r20=FAST_HYPERPRIVOP_PERFC(HYPERPRIVOP_RFI);; -- 2.30.2